home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6917 < prev    next >
Encoding:
Text File  |  1996-08-05  |  693 b   |  27 lines

  1. Path: news.nevada.edu!not-for-mail
  2. From: kesslert@nevada.edu (Troy Kessler)
  3. Newsgroups: comp.lang.c++
  4. Subject: Need Help With CSC Homework
  5. Date: 16 Feb 1996 02:43:18 GMT
  6. Organization: University of Nevada System Computing Services
  7. Message-ID: <4g0r06$ss@news.nevada.edu>
  8. NNTP-Posting-Host: unauthenticated_user@pioneer.nevada.edu
  9. X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
  10.  
  11. p.h
  12.  
  13. const int MAXLENGTH=21;
  14. class Romantype
  15. {
  16. public:
  17. Romantype();
  18. friend istream& operator>>(istream& in,Romantype& x);
  19. friend ostream& operator<<(ostream& out,Romantype x);
  20. void operator+(Romantype);
  21. int RomanToDecimal(char[MAXLENGTH]);
  22. void DecimalToRoman(char[MAXLENGTH],int);
  23. private:
  24. char Roman[MAXLENGTH];
  25. };
  26.  
  27.